Steps by Step APEX and ORDS Installation and Configuration in Oracle EBS R12

Steps by Step APEX and ORDS Installation and Configuration in Oracle EBS R12

Recommended Architecture for APEX-ORDS-EBS Integration
For Database Tier, Oracle recommends to install Oracle APEX within the same DB Server where Oracle EBS is installed. A separate custom schema should be created. if you are integrating Oracle APEX with Oracle EBS R12.2 instance, the custom created APEX schema database user should be updated to enable Edition-Based Redefinition (EBR).

For Middle Tier, Oracle REST Data Services(ORDS) is recommended to be installed within Oracle WebLogic Server, on a separate application server to the one configured for Oracle E-Business Suite, so that each Application Server can be managed separately. Apache Tomcat or Standalone ORDS can also be used.

References: 

Step 1: Downloading Installing Application Express

Install Oracle Application Express by downloading a ZIP file from the Oracle Application Express download page. You can downloads latest version to install Oracle Application Express from below download URL Page, it may contain many APEX version, better to use the latest APEX Version

http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html

Unzip downloaded zip file: unzip apex_21.2_en.zip

Change your working directory to apex.

Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example:

$ sqlplus /nolog

SQL> CONNECT SYS as SYSDBA

Enter password: SYS_password

Full development environment. Run apexins.sql passing the following four arguments in the order shown:

@apexins.sql tablespace_apex tablespace_files tablespace_temp images

Where:

tablespace_apex is the name of the tablespace for the Oracle Application Express application user.

tablespace_files is the name of the tablespace for the Oracle Application Express files user.

tablespace_temp is the name of the temporary tablespace or tablespace group.

images is the virtual directory for Oracle Application Express images. For installations using EPG, /i/ is the required value for the images argument. To support future Oracle Application Express upgrades, define the virtual image directory as /i/.

Example:

@apexins.sql SYSAUX SYSAUX TEMP /i/

Runtime environment. Run apxrtins.sql passing the following arguments in the order shown:

@apxrtins.sql tablespace_apex tablespace_files tablespace_temp images

Where:

tablespace_apex is the name of the tablespace for the Oracle Application Express application user.

tablespace_files is the name of the tablespace for the Oracle Application Express files user.

tablespace_temp is the name of the temporary tablespace or tablespace group.

images is the virtual directory for Oracle Application Express images. To support future Oracle Application Express upgrades, define the virtual image directory as /i/.

Example:

@apxrtins.sql SYSAUX SYSAUX TEMP /i/

When Oracle Application Express installs, it creates three new database accounts:

APEX_180200 - The account that owns the Oracle Application Express schema and metadata.

FLOWS_FILES - The account that owns the Oracle Application Express uploaded files.

APEX_PUBLIC_USER - The minimally privileged account is used for Oracle Application Express configuration with Oracle REST Data Services or Oracle HTTP Server and mod_plsql.

If you configured RESTful Web services, then these additional accounts will be created:

APEX_REST_PUBLIC_USER - The account used when invoking RESTful Services definitions stored in Oracle Application Express.

APEX_LISTENER - The account used to query RESTful Services definitions stored in Oracle Application Express.

If you are upgrading from a previous release, then FLOWS_FILES already exists and APEX_PUBLIC_USER is created if it does not already exist.

Step 2: ORDS Installation and Configuration

Verify APEX version using below query

select comp_name, version from dba_registry where comp_id=’APEX’ order by 1;

Download latest version of ORDS ords-21.4.2.062.1806.zip from http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html 

Upload file to directory mainly where APEX is installed. then Create new folder like ords and unzip downloaded file inside folder.

Create the APEX_REST_PUBLIC_USER / APEX_LISTENER users and their passwords:

Go to folder /user/home/nizamappsdba/APEX/apex

Login to sqlplus / as sysdba

@apex_rest_config.sql

Enter a password for the APEX_LISTENER user []

Enter a password for the APEX_REST_PUBLIC_USER user []

Go to ords folder i.e. /user/home/nizamappsdba/APEX/ords and run command java -jar ords.war install advanced

Please make a note that latest version required SYS password instead of SYSTEM, please verify below command is working fine from your DB tier server

Example: sqlplus sys/****@dbnode1.nizamappsdba.com:1529/EBSDB as sysdba

If it is giving login denied error then go to $ORACLE_HOME/dbs and run below command

orapwd file=orapwEBSDB password=**** entries=5 force=y

and then retry sqlplus sys/****@dbnode1.nizamappsdba.com:1529/EBSDB as sysdba once you connected successfully please proceed ahead with installation.

Verify ORDS installation by clicking on http://ords.nizamappsdba.com:8080/ords

How to get username, password for login?

Go to APEX installation folder /user/home/nizamappsdba/APEX/apex and run command @apxchpwd.sql from sqlplus / as sysdba 

How to Stop/Start ords: 

nohup $JAVA_HOME/bin/java -jar ords.war standalone &



appsdbahelp

17+ years of experience in Oracle Database, Oracle Cloud Infrastructure(OCI), Oracle EBS on Cloud, Oracle E-Business Suite, DevOps tools, Oracle WebLogic, Oracle Application Server, Oracle Access Manager and various Operating System flavors including Redhat Linux, UNIX (Solaris, HP-UX) and Windows. Expert in Oracle9i/10g/11g/12c/19c database administration, upgrade, configuration and tuning. Experience in Oracle E-Business Suite technological stack, including architecture, installation, configuration, maintenance, tuning, cloning and patching procedures. Expert in Oracle Cloud Infrastructure(OCI), Oracle EBS On Cloud and Oracle EBS Cloud Manager Experience with Oracle Cloud Solution and Expert of Oracle ERP/Oracle HCM Cloud deployment Experience in Terraform, JSON and chef cloud infrastructure automation framework Knowledge of ASM, Data Guard, Real Application Cluster, Exadata and Exalogic Knowledge of Oracle Enterprise Manager(OEM) Grid Control, Oracle WebLogic, Oracle Internet Directory, Oracle Access Manager and Apache Ability to analyze problem, develops solutions and bring program/project execution to completion.

Post a Comment

Previous Post Next Post